//
//  PopUpViewController.h
//  SlideMenu
//
//  Created by khoa nguyen on 7/18/14.
//  Copyright (c) 2014 Aryan Ghassemi. All rights reserved.
//

#import <UIKit/UIKit.h>

@class NewProjectPopUpViewController;

@protocol DelegateUpdateProtocol

- (void)updateUI:(NewProjectPopUpViewController*)delegateObject;
- (bool)checkProjectAvailable:(NSString *) project_name;

@end


@interface NewProjectPopUpViewController : UIViewController

@property (weak, nonatomic) IBOutlet UIView *popUpView;
@property (weak, nonatomic) IBOutlet UITextField *textProjectName;

- (void)showInView:(UIView *)aView withImage:(UIImage *)image withMessage:(NSString *)message animated:(BOOL)animated;

// define delegate property
@property (nonatomic, assign) id  delegate;

// define public functions
-(void)updateDelegate;

@end
